home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / GRAPHICS / RAYTRACING / POVRAY3 / POV301 / povray3 / docsdemo / pov / layered2 < prev    next >
Text File  |  1997-01-21  |  1KB  |  61 lines

  1. #include "colors.inc"
  2.  
  3. camera {
  4.   location <0, 0, -6>
  5.   look_at <0, 0, 0>
  6. }
  7.  
  8. light_source { <-20, 30, -100> color White }
  9. light_source { <10, 30, -10> color White }
  10. light_source { <0, 30, 10> color White }
  11.  
  12. #declare PLAIN_TEXTURE =  
  13.   // red/white check
  14.   texture {
  15.     pigment {
  16.       checker
  17.       color rgb<1.000, 0.000, 0.000> 
  18.       color rgb<1.000, 1.000, 1.000>  
  19.       scale <0.2500, 0.2500, 0.2500>
  20.     }
  21.   }
  22.  
  23. // plain red/white check box
  24.  
  25. box { <-1, -1, -1>, <1, 1, 1>
  26.   texture {
  27.     PLAIN_TEXTURE
  28.   }
  29.   translate  <-1.5, 1.2, 0>
  30. }
  31.  
  32. #declare FADED_TEXTURE = 
  33.   // red/white check texture
  34.   texture {
  35.     pigment {
  36.       checker
  37.       color rgb<0.920, 0.000, 0.000>
  38.       color rgb<1.000, 1.000, 1.000>
  39.       scale <0.2500, 0.2500, 0.2500>
  40.     }
  41.   }
  42.   // greys to fade red/white
  43.   texture {
  44.     pigment {
  45.       checker
  46.       color rgbf<0.632, 0.612, 0.688, 0.698>
  47.       color rgbf<0.420, 0.459, 0.520, 0.953>
  48.       turbulence 0.500
  49.       scale <0.2500, 0.2500, 0.2500>
  50.     }
  51.   }
  52.  
  53. // faded red/white check box
  54.  
  55. box { <-1, -1, -1>, <1, 1, 1>
  56.   texture {
  57.     FADED_TEXTURE
  58.   }
  59.   translate  <1.5, 1.2, 0>
  60. }
  61.